home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010306-20010921 / 000318_fdc@columbia.edu_Thu Aug 16 14:35:11 EDT 2001.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  73 lines

  1. Article: 12684 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc
  5. Subject: Re: Kermit Scripts and Shell Scripts
  6. Date: 16 Aug 2001 14:30:45 -0400
  7. Organization: Columbia University
  8. Lines: 57
  9. Message-ID: <CMM.0.90.4.997986635.fdc@watsun.cc.columbia.edu>
  10. NNTP-Posting-Host: kachifo.cc.columbia.edu
  11. X-Trace: newsmaster.cc.columbia.edu 997986649 24641 128.59.59.172 (16 Aug 2001 18:30:49 GMT)
  12. X-Complaints-To: postmaster@columbia.edu
  13. NNTP-Posting-Date: 16 Aug 2001 18:30:49 GMT
  14. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:12684
  15.  
  16. > Frank -  Here is the debug.log file you requested via the newsgroup.
  17. >  
  18. Thanks for the log.  Unfortunately it doesn't show the cause of the
  19. problem, or for that matter even that there is a problem.  It says the RUN
  20. command executed without any errors.
  21.  
  22. I have limited access to a DG/UX system.  I logged in to it, created a file
  23. called foo containing:
  24.  
  25. echo one
  26. echo two
  27. echo $1
  28. echo $2
  29.  
  30. Then I gave it execute permission and made sure it worked OK:
  31.  
  32. ~/kermit [329] $ chmod +x foo
  33. ~/kermit [330] $ ./foo xxx yyy
  34. one
  35. two
  36. xxx
  37. yyy
  38.  
  39. Then I started Kermit and told it to RUN this file:
  40.  
  41. ~/kermit [331] $ ./wermit
  42. C-Kermit 8.0.200 Beta.02, 28 Jun 2001, for Data General DG/UX R4.11
  43.  Copyright (C) 1985, 2001,
  44.   Trustees of Columbia University in the City of New York.
  45. Type ? or HELP for help.
  46. C-Kermit> show var os
  47.  \v(osname) = dgux
  48.  \v(osrelease) = R4.11MU05
  49.  \v(osversion) = generic
  50. C-Kermit> run foo hello goodbye
  51. one
  52. two
  53. hello
  54. goodbye
  55. C-Kermit> status
  56.  SUCCESS
  57. C-Kermit>
  58.  
  59. No problems whatsoever.  Whatever is happening in your case has something
  60. to do with the file specification you are giving for your Perl script, or
  61. permissions, or Perl itself, or other external factors.  But in any case,
  62. Kermit's RUN command works when the RUN filename is runnable (and of
  63. course it fails when the file is not runnable).
  64.  
  65. Note that this trial was done with C-Kermit 8.0 but you have 7.0.  It
  66. shouldn't make a difference, but if you want to try the 8.0 Beta, it's
  67. here:
  68.  
  69.   http://www.columbia.edu/kermit/ck80.html
  70.  
  71. - Frank
  72.  
  73.